package com.p2p.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.p2p.model.entity.Employee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.p2p.model.vo.EmployeeQueryVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 黄旭彬
 * @since 2023-12-14
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    IPage<Employee> selectEmpPage(Page<Employee> pageParam,@Param("vo") EmployeeQueryVo employeeQueryVo);

    Employee selectOneByEmail(QueryWrapper<Employee> email1);

}
